﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>待审核新闻</title>
</head>
	<h1>待审核新闻</h1>
    <form action="shenhe.php" method="post">
    <?php
		require_once("../connectMysql/connetMysql.class.php");
		$db=new connetMysql;
		$con=$db->getConnect();
		
		$tid=$_GET['newsid'];
		echo "<input type='hidden' name='newsid' value=$tid>";
				
		$sql = "SELECT * FROM newsdraft WHERE newsid=".$tid; 
		$result=mysqli_query($con,$sql);
		while ($row = mysqli_fetch_assoc($result))
		{
		    echo "新闻内容 : {$row['newscontent']} <br>";
			
		}
		$db->clossConnet();
	?>
    <p>审核意见</p>
    <textarea rows="10" cols="30" name="sheheyijian">
    </textarea>
    	<br>
        通过：<input type="radio" checked="checked" name="ifacc" value="1" />
		不通过：<input type="radio" name="ifacc" value="0" />
        <br>
     <input type="submit" value="提交" />
	</form>
<body>
</body>
</html>